<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>用户列表</title>
</head>
<body>
<table>
<tr>
<th>编号</th>
<th>用户名</th>
<th>密码</th>
</tr>
	<c:forEach items="${users }" var="user">
	<tr>
		<td>${user.uid }</td>
		<td>${user.uname }</td>
		<td>${user.upass }</td>
		<td><a href="delete?id=${user.uid }">删除</a> || <a href="update?id=${user.uid }">修改</a></td>
	</tr>
	</c:forEach>
	<tr><td colspan="7"><a href="add">添加新用户</a></tr>
</table>
</body>
</html>